package com.bootdo.merchant.dao;

import com.bootdo.merchant.domain.AgentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Desc 通道费率
 * @date 2019/11/13
 * ${tags}
 */
@Mapper
public interface AgentDao {

    AgentDO get(Long id);

    List<AgentDO> list(Map<String,Object> map);
    int count(Map<String,Object> map);

    int save(AgentDO agentDO);
    int update(AgentDO agentDO);

    List<AgentDO> queryAgnet(Long userId);
}
